package wordit.ea;

public interface StopFunction {

	/**
	 * Decides whether the evolutionary algorithm should stop
	 * 
	 * @param currentGeneration
	 * @return true to cause the EA to stop running
	 */
	boolean shouldStop(Generation currentGeneration);

}
